/**
 * File    : SiteManager.java
 * Created : 2008-10-10
 * By      : LuHuiguo
 */
package com.luhuiguo.sso.service;

import java.util.List;

import com.luhuiguo.sso.entity.Site;

/**
 * @author LuHuiguo
 * @version $Id: SiteManager.java 9 2008-10-12 12:51:20Z LuHuiguo $
 * 
 */
public interface SiteManager {

	Site getSite(Long id);

	Site getSite(String url);

	boolean existsSite(String url);

	List<Site> getAllSite(int... rowStartIdxAndCount);

	void createSite(Site site);

	void updateSite(Site site);

	void deleteSite(Long id);

	void deleteSite(String url);

	void deleteSite(Site site);

}
